﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InsertDaiLy.aspx.cs" Inherits="ASP.ADO.InsertDaiLy" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 99%;
        }
        .style2
        {
            width: 163px;
        }
        .style3
        {
            width: 132px;
        }
        .style4
        {
            width: 163px;
            height: 4px;
        }
        .style5
        {
            width: 132px;
            height: 4px;
        }
    </style>
    <link href="StyleSheet1.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div dir="ltr" style="height: 66px; font-family: 'Times New Roman', Times, serif;
        font-size: large; font-weight: bolder; font-style: oblique; text-align: center;">
        <asp:Label ID="Label1" runat="server" Text="Thêm Đại Lý"></asp:Label>
        <br />
        <br />
        <br />
        <br />
    </div>
    <div style="height: 308px">
        <div style="float: left; height: 249px; width: 609px;">
            <table class="style1">
                <tr>
                    <td class="style2">
                        Mã đại lý:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtMaDaiLy" runat="server"></asp:TextBox>
                    </td>
                    <td rowspan="3">
                        <div style="display: table-row">
        <asp:Label ID="lblResult" runat="server" CssClass="LabelInfo"></asp:Label>
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Home</asp:HyperLink>
        <br />
        <asp:Button ID="btnAddDaiLy" runat="server" OnClick="btnAddDaiLy_Click" Text="Thêm Đại Lý" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Tên đại lý:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtTenDaiLy" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Mã Loại Đại Lý:
                    </td>
                    <td class="style3">
                        <asp:DropDownList ID="ddlLoaiDaiLy" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Điện thoại:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtDienThoai" runat="server"></asp:TextBox>
                    </td>
                    <td rowspan="2">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style4">
                        Địa chỉ:
                    </td>
                    <td class="style5">
                        <asp:TextBox ID="txtDiaChi" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Mã Quận:
                    </td>
                    <td class="style3">
                        <asp:DropDownList ID="ddlMaQuan" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td rowspan="4">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Ngày tiếp nhận:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtNgayTiepNhan" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Email:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Tiền nợ:
                    </td>
                    <td class="style3">
                        <asp:TextBox ID="txtTienNo" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <br />
            <br />
            <div style="width: 883px; height: 291px; text-align: center;">
                <object data="data:application/x-silverlight-2," 
                    type="application/x-silverlight-2" style="width: 100%; height: 100%">
                    <param name="source" value="ClientBin/SilverlightApplication1.xap" />
                    <param name="onError" value="onSilverlightError" />
                    <param name="background" value="white" />
                    <param name="minRuntimeVersion" value="3.0.40818.0" />
                    <param name="autoUpgrade" value="true" />
                    <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40818.0" style="text-decoration: none">
                        <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight"
                            style="border-style: none" />
                    </a>
                </object>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
